<?php
$conexion = mysql_connect("localhost", "usuario", "clave");
mysql_select_db("demo", $conexion);

$queEmp = "SELECT * FROM empresa ORDER BY nombre ASC";
$resEmp = mysql_query($queEmp, $conexion) or die(mysql_error());
$totEmp = mysql_num_rows($resEmp);

if ($totEmp> 0) {
   while ($rowEmp = mysql_fetch_assoc($resEmp)) {
      echo "<strong>".$rowEmp['nombre']."</strong><br>";
      echo "Direccion: ".$rowEmp['direccion']."<br>";
      echo "Telefono: ".$rowEmp['telefono']."<br><br>";
   }
}
?>

<table border="1">
  <tr>
    <th>Type:</th>
    <th>Description:</th>
    <th>Recorded Date:</th>
    <th>Added Date:</th>
  </tr>

<?php 
while($row = mysql_fetch_array($result)){
    ?>
    
<!-- Before loop -->
<?php $c = 0; ?>
<!-- CSS -->
.even { background-color:#FFF; }
.odd { background-color:#666; }

<!-- Start loop -->
    <tr class="<?=($c++%2==1) ? 'odd' : 'even' ?>">
        <td><?php echo $row['type'] ?></td>
        <td><?php echo $row['description'] ?></td>
        <td><?php echo $row['recorded_date'] ?></td>
        <td><?php echo $row['added_date'] ?></td>
    </tr>
    <br /> 


  <?php 
}
mysql_close();
?>
</table>